package com.drcoffee.drcoffeemall.entry;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/*
 * 配件表
 * */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Attachment {
    private Integer id;
    private String part_code;
    private String part_name;
    private String unit;
    private double weight;
    private String material;
    private String packing;
    private String image_url;
    private Integer machine_id;
    private Integer inventory;
    private Integer quantity;
    private String type;
    private BigDecimal price;
    // 折后价
    private BigDecimal discounted_price;
    private String language;
    private String file_path;
    private BigDecimal subtotal;
}
